package zjitc.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zjitc.dao.EvaluateMapper;
import zjitc.filter.Login;
import zjitc.po.Evaluate;
import zjitc.po.Modelen;
import zjitc.service.EvaluateService;

import java.util.List;

/**
 * Created by guo on 2018/5/2.
 */
@Service
public class EvaluateServiceImpl implements EvaluateService
{
    @Autowired
    private EvaluateMapper evaluateMapper;

    @Override
    public List<Modelen> findEvaluateByBsidAndUid(int bsid) {
        return evaluateMapper.findEvaluateByBsidAndUid(bsid);
    }

    @Override
    public int addEvaluate(Evaluate evaluate) {
        return evaluateMapper.addEvaluate(evaluate);
    }

    @Override
    public List<Evaluate> findAllEvaluate() {
        return evaluateMapper.findAllEvaluate();
    }


}
